/* Conversation Page Styles */
.conversation-layout {
  height: 100vh;
  background: #f5f5f5;
}

.conversation-sidebar {
  background: #fff;
  border-right: 1px solid #e8e8e8;
  overflow-y: auto;
}

.conversation-main {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.conversation-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  background: #fff;
}

.conversation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}

.conversation-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.mobile-menu-button,
.settings-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.mobile-menu-button:hover,
.settings-button:hover {
  background-color: #f0f0f0;
}

.conversation-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  min-height: 0;
}

.conversation-input-area {
  border-top: 1px solid #e8e8e8;
  padding: 16px 24px;
  background: #fff;
}

/* Mobile Header */
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}

.conversation-title-mobile {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-topic-badge {
  font-size: 12px;
  color: #ff4d4f;
  display: block;
  margin-top: 2px;
}

.mobile-header-actions {
  display: flex;
  gap: 4px;
}

/* Touch-friendly buttons */
.h-touch {
  min-height: 44px !important;
  height: 44px !important;
}

.w-touch {
  min-width: 44px !important;
  width: 44px !important;
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
  .conversation-header {
    padding: 12px 16px;
  }

  .conversation-messages {
    padding: 16px;
  }

  .conversation-input-area {
    padding: 12px 16px;
  }
}

/* Scrollbar Styling */
.conversation-messages::-webkit-scrollbar,
.conversation-sidebar::-webkit-scrollbar {
  width: 6px;
}

.conversation-messages::-webkit-scrollbar-track,
.conversation-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.conversation-messages::-webkit-scrollbar-thumb,
.conversation-sidebar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.conversation-messages::-webkit-scrollbar-thumb:hover,
.conversation-sidebar::-webkit-scrollbar-thumb:hover {
  background: #555;
}